import * as ax from './request';

export const url = ax.url + '/op'
// export const url = ax.url

export const getMemberStatisticList = (params) => {
    return ax.g(url + '/member/statistics', params)
}

export const getMemberStatistic = (params) => {
    return ax.g(url + '/member/statistics/' + params.id, params)
}

export const createMemberStatistic = (params) => {
    return ax.p(url + '/member/statistics', params)
}

export const updateMemberStatistic = (params) => {
    return ax.u(url + '/member/statistics/' + params.id, params)
}

export const delMemberStatistic = (params) => {
    return ax.d(url + '/member/statistics/' + params.id, params)
}
